/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ficherofiguras;

/**
 *
 * @author AULAC
 */
public abstract class Figura{
    
    private String color;

    public Figura(String color) {
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Color: " + color;
    }
    
    public abstract float calcularArea();
    
}
